import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {WmsWarningConfigComponent} from './wms-warning-config.component';

const routes: Routes = [
    {path: '', component: WmsWarningConfigComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-wms-warning-config/add-wms-warning-config.module#AddWmsWarningConfigModule'},
            {path: 'list', loadChildren: './list-wms-warning-config/list-wms-warning-config.module#ListWmsWarningConfigModule'},
            {path: 'modify', loadChildren: './modify-wms-warning-config/modify-wms-warning-config.module#ModifyWmsWarningConfigModule'},
            {path: 'report', loadChildren: './report-wms-warning-config/report-wms-warning-config.module#ReportWmsWarningConfigModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class WmsWarningConfigRoutingModule {
}
